package com.du.back1.service;

import com.du.back1.entity.Employee;
import com.du.back1.mapper.EmployeeMapper;
import com.du.back1.utills.BaseResult;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmployeeService {

    @Resource
    EmployeeMapper employeeMapper;

    public List<Employee> getAll() {
    return employeeMapper.getAll();
    }

}
